using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace gears
{
    class ContentLoader
    {
        private static ContentManager content;
        public static ContentManager Content
        {
            get
            {
                return content;
            }
            set
            {
                content = value;
            }

        }
        private static Texture2D texture;
        private static SpriteFont font;

        public static Texture2D LoadTexture(string texture_name)
        {
            texture = content.Load<Texture2D>(texture_name);
            return texture;
        }
        public static SpriteFont LoadFont(string font_name)
        {
            font = content.Load<SpriteFont>(font_name);
            return font;
        }
    }
}
